{% extends "base.html" %}
{%block title%}Phillip's Eportfolio - Contact Me{%endblock%}
{%block content_title%}Contact Me{%endblock%}
{%block content%}
	{% if spam_error %}
	<h2>{{ spam_error }}</h2>
	{%endif%}	
	<form action="http://c-pj.net/contact/" method="post">
			<table width="503" height="230" border="0">
			  <tr>
			    <td width="120" valign="top">Name:</td>
			    <td width="367" valign="top"><input type="text" name="name" class="contact_text_field" value="{{ name }}" /> {{ name_error }}</td>
			  </tr>
			  <tr>
			    <td valign="top">Email Address:</td>
			    <td valign="top"><input type="text" name="email" class="contact_text_field" value="{{ email }}" />
			    {% if email_error %}
				{{ email_error }}
			    {%endif%}
			    {% if not email_error and email_valid_error %}
				{{ email_valid_error }}
			    {%endif%}
			    </td>
			  </tr>
			  <tr>
			    <td valign="top">Subject:</td>
			    <td valign="top"><input type="text" name="subject" class="contact_text_field" value="{{ subject }}" /> {{ subject_error }}</td>
			  </tr>
			  <tr>
			    <td valign="top">Message Content:</td>
			    <td valign="top"><textarea id="content" class="contact_text_field" name="content" rows="6" cols="38" >{{ content }}</textarea>  {{ content_error }}</td>
			  </tr>
			  <tr>
				<td></td>
				<td><input type="submit" value="Send  &rarr;" name="submit" /> **All Fields Required</td>
			  </tr>
			</table>
		</form>
{%endblock%}
